package com.djx.hystrix.controller;

import org.springframework.web.bind.annotation.PostMapping;
import org.springframework.web.bind.annotation.RestController;

/**
 * @author dingjunxiong
 */
@RestController
public class SayHelloController {

    @PostMapping("/sayHello")
    public String sayHello(String name) {
        System.out.println("hi~hi~hi~");
        return "hello " + name;
    }
}
